package interfaces;

import java.sql.SQLException;
import java.util.ArrayList;
import model.Feature;

public interface IFeature {
  public boolean create(Feature feature) throws SQLException, ClassNotFoundException;
  public boolean update(Feature feature) throws SQLException, ClassNotFoundException;
  public boolean delete(Feature feature) throws SQLException, ClassNotFoundException;
  public ArrayList<Feature> retrieveByID(int id) throws SQLException, ClassNotFoundException;
  public ArrayList<Feature> retrieveAll() throws SQLException, ClassNotFoundException;
}
